package com.guigu.health.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName:MenuTree
 * @Description:菜单父级
 * @Author:longtao
 * @Date:2021/4/21
 * @Version:1.0
 */
@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class MenuParentTree implements Serializable {
    /**
     * 菜单项ID
     */
    private Integer id;
    /**
     * 菜单名称
     */
    private String label;
    /**
     * 菜单子集合
     */
    private List<MenuChildTree> children;
}
